Port close-on-exec pty creation to FreeBSD 9.1-RELEASE.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 06:11:50 +0000 (23:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 06:11:50 +0000 (23:11 -0700)
commit5c41cec3858f1828303b67be634b8c39937c8580
tree094a932d437107f449de37bd1a0d2a0e06ee8c0a
parent57c5937ff85bce49f9dc8f4c66851620416bdc07
Port close-on-exec pty creation to FreeBSD 9.1-RELEASE.

* configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
and reports EINVAL, try it again without O_CLOEXEC.  This should
port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
What were they thinking?
ChangeLog
configure.ac